<th:block th:if="${field.translatable and hideTranslations != 'true'}">
    <th:block th:if="${df}" th:with="disable=${df.translationId == null}">
        <a class="show-translations disabled"
           th:classappend="${disable} ? 'always-disabled'"
           th:href="@{/translation(ceilingEntity=${df.translationCeilingEntity},
                                   entityId=${df.translationId},
                                   propertyName=${field.translationFieldName},
                                   isRte=${field.fieldType == 'HTML' || field.fieldType == 'HTML_BASIC'})}">
            <i class="blc-icon-globe" style="color: #94AF39; vertical-align: middle;"></i>
            <span th:utext="#{Translation}"></span>
            <span th:if="${disable}" th:text="#{translation.available.on.edit}"></span>
        </a>
    </th:block>
    <th:block th:unless="${df}" th:with="disable=${entityForm.translationId == null}">
        <a class="show-translations disabled"
           th:classappend="${disable} ? 'always-disabled'"
           th:href="@{/translation(ceilingEntity=${entityForm.translationCeilingEntity},
                                   entityId=${entityForm.translationId},
                                   propertyName=${field.translationFieldName},
                                   isRte=${field.fieldType == 'HTML' || field.fieldType == 'HTML_BASIC'})}">
            <i class="blc-icon-globe" style="color: #94AF39; vertical-align: middle;"></i>
            <span th:utext="#{Translation}"></span>
            <span th:if="${disable}" th:text="#{translation.available.on.edit}"></span>
        </a>
    </th:block>
</th:block>
